package manager_service.service;

import com.github.pagehelper.PageInfo;
import manager_service.exception.CourseNotExistException;
import test_common.entity.Course;

import java.util.Date;
import java.util.List;

/**
 * @author zhangzheng
 * @create 2020/12/25
 */
public interface BackCourseService {
    void addCourse(Course course);
    PageInfo<Course> showCourseList(Integer pageNoint, Integer pageSizeint);
    Course selectCourse(Integer id) throws CourseNotExistException;
    void  modifyCourse(Course course);
    void modifyCourseStatus(Course course);
    PageInfo<Course> searchCourses(String author, String courseName, String status, String courseTypeId, Date createDateStart, Date createDateEnd, Integer pageNoint, Integer pageSizeint);
}
